html,
body {
  padding: 0;
  margin: 0;
}

a[href],
input[type='submit'],
input[type='radio'],
input[type='checkbox'],
input[type='image'],
label[for],
select,
button {
  cursor: pointer;
}

::-webkit-scrollbar {
  width: 0.5em;
  height: 0.5em;
}

::-webkit-scrollbar-track {
  height: 0.5em;
  background: var(--hv-scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background: var(--hv-scrollbar-thumb);
  border-radius: 0.5em;

  &:hover {
    background: var(--hv-scrollbar-thumb-hover);
  }
}

//=====自定义修改======

// form
.hv-query-form {
  .ant-input-number {
    width: 260px;
  }

  .ant-input {
    width: 260px;
  }

  .ant-select {
    width: 260px;
  }

  .ant-calendar-picker {
    width: 260px;
  }

  .ant-picker {
    width: 260px;
  }
}

.ant-input-number {
  width: 100%;
}

.ant-select {
  width: 100%;
}

.ant-calendar-picker {
  width: 100%;
}

.ant-picker {
  width: 100%;
}

//=====自定义样式======
//字体颜色
.hv-text-primary {
  color: var(--hv-primary-color);
}

.hv-text-success {
  color: var(--hv-success-color);
}

.hv-text-warning {
  color: var(--hv-warning-color);
}

.hv-text-error {
  color: var(--hv-error-color);
}

.hv-text-black {
  color: var(--hv-black);
}

.hv-text-black-primary {
  color: var(--hv-text-color);
}

.hv-text-black-secondary {
  color: var(--hv-text-color-secondary);
}

//文本对齐
.hv-text-align-right {
  text-align: right;
}

.hv-text-align-left {
  text-align: left;
}

.hv-text-align-center {
  text-align: center;
}

//鼠标
.hv-cursor-default {
  cursor: default;
}

.hv-cursor-url {
  cursor: url;
}

.hv-cursor-pointer {
  cursor: pointer;
}

.hv-cursor-auto {
  cursor: auto;
}

.hv-cursor-crosshair {
  cursor: crosshair;
}

.hv-cursor-text {
  cursor: text;
}

.hv-cursor-wait {
  cursor: wait;
}

.hv-cursor-help {
  cursor: help;
}

.hv-cursor-move {
  cursor: move;
}

.hv-cursor-e-resize {
  cursor: e-resize;
}

.hv-cursor-ne-resize {
  cursor: ne-resize;
}

.hv-cursor-nw-resize {
  cursor: nw-resize;
}

.hv-cursor-se-resize {
  cursor: se-resize;
}

.hv-cursor-n-resize {
  cursor: n-resize;
}

.hv-cursor-sw-resize {
  cursor: sw-resize;
}

.hv-cursor-s-resize {
  cursor: s-resize;
}

.hv-cursor-w-resize {
  cursor: w-resize;
}

//边距
.hv-margin-top10 {
  margin-top: 10px;
}

.hv-margin-bottom10 {
  margin-bottom: 10px;
}

.hv-margin-left10 {
  margin-left: 10px;
}

.hv-margin-right10 {
  margin-right: 10px;
}

.hv-margin-top15 {
  margin-top: 15px;
}

.hv-margin-bottom15 {
  margin-bottom: 15px;
}

.hv-margin-left15 {
  margin-left: 15px;
}

.hv-margin-right15 {
  margin-right: 15px;
}

.hv-margin-top20 {
  margin-top: 20px;
}

.hv-margin-bottom20 {
  margin-bottom: 20px;
}

.hv-margin-left20 {
  margin-left: 20px;
}

.hv-margin-right20 {
  margin-right: 20px;
}

// 内容
.hv-word-break {
  word-break: break-all;
  overflow-wrap: break-word;
  hyphens: auto;
  line-break: anywhere;
}

// flex
.hv-flex {
  display: -webkit-flex;
  display: flex;
}

.hv-flex-direction-row {
  flex-direction: row;
}

.hv-flex-direction-row-reverse {
  flex-direction: row-reverse;
}

.hv-flex-direction-column {
  flex-direction: column;
}

.hv-flex-direction-column-reverse {
  flex-direction: column-reverse;
}

.hv-flex-wrap-nowrap {
  flex-wrap: nowrap;
}

.hv-flex-wrap {
  flex-wrap: wrap;
}

.hv-flex-wrap-reverse {
  flex-wrap: wrap-reverse;
}

.hv-flex-justify-content-start {
  justify-content: flex-start;
}

.hv-flex-justify-content-end {
  justify-content: flex-end;
}

.hv-flex-justify-content-center {
  justify-content: center;
}

.hv-flex-justify-content-between {
  justify-content: space-between;
}

.hv-flex-justify-content-around {
  justify-content: space-around;
}

.hv-flex-align-items-start {
  align-items: flex-start;
}

.hv-flex-align-items-end {
  align-items: flex-end;
}

.hv-flex-align-items-center {
  align-items: center;
}

.hv-flex-align-items-baseline {
  align-items: baseline;
}

.hv-flex-align-items-stretch {
  align-items: stretch;
}

.hv-flex-align-content-start {
  align-content: flex-start;
}

.hv-flex-align-content-end {
  align-content: flex-end;
}

.hv-flex-align-content-center {
  align-content: center;
}

.hv-flex-align-content-between {
  align-content: space-between;
}

.hv-flex-align-content-around {
  align-content: space-around;
}

.hv-flex-align-content-stretch {
  align-content: stretch;
}

.hv-table-striped {
  background-color: var(--hv-striped-bg);
}

.hv-search-box {
  width: 100%;
  padding-bottom: 15px;
  padding-top: 10px;
  margin-bottom: 15px;
  border-bottom: var(--hv-border-width-base) var(--hv-border-style-base)
    var(--hv-border-color-split);
}

.hv-table-action-box {
  .ant-btn {
    padding-left: 2px;
    padding-right: 2px;
  }
}




@import './dark-common.less';